<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
   <title>FishVideo</title>
   <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
   <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
   <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
 <style>
	#content{
		width:40%;
		height:30%;
		margin-left:30%;
		margin-top:10%;
	}
 </style>
</head>
<body>
	<?php
		session_start();
		if(isset($_SESSION['adminid'])){
			echo "<meta http-equiv='Refresh' content='0;URL=control_user.php'>"; //跳转界面
		}
	?>
	<!--登陆主体 -->
			 <div id="content">
				<h3><strong>后台管理系统</strong></h3>
			   <form  action="doAdminLogin.php" method="POST" role="form" >
				<table class="table">
					<tr>
						<th>用户名:</th><td><input type="text" name="user" 
						class="form-control" 
						placeholder="user"></td>
					</tr>
					<tr>
						<th>密码:</th><td><input type="password" name="pwd" 
						class="form-control"
						placeholder="password"></td>
					</tr>
				</table>
				<input type="submit" name="sub" class="btn-block btn-lg btn-primary"
				value="登陆">
			</form>
		    </div>
</body>
</html>